package model;

public class Articles {
protected String title, content;
	
	public Articles(){
		this.setTitle("Default");
		this.setContent("Default");
	}
	
	public Articles(String title, String content){
		this.title = title;
		this.content = content;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String toString()
	{
		return this.getTitle() + "\n" + this.getContent();
	}

}
